package com.zyl.king.service;

import com.zyl.king.VO.OrderVO;
import com.zyl.king.po.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyl.king.result.Result;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author zyl
 * @since 2025-01-05
 */
public interface IOrderService extends IService<TOrder> {

    /**
     * 添加订单
     * @param order
     * @return
     */
    Result addOrder(OrderVO order);

    Result queryOrder(String userName);
}
